import Vue from 'vue'
import Vuex from 'vuex'

// 导入需要的模块
import moduleCart from '@/store/cart.js'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    cart: moduleCart
  }
})

export default store
